export const columns = [
    {
        title: '序号',
        width: 70,
        key:'index'
    },
    {
        title: '头像',
        key: 'avatar',
        width: 80
    },
    {
        title: '用户名',
        dataIndex: 'username',
        width: 110,
        ellipsis:true
    },
    {
        title: '手机号',
        dataIndex: 'phone',
        width: 120,
    },
    {
        title: '角色名称',
        // slots: { customRender: 'roleName' },
        dataIndex: 'role_name',
        width: 100,
    },
    {
        title: '所属部门',
        dataIndex: 'dept_name',
        width: 100
    },
    {
        title: '状态',
        width: 80,
        key:'status'
    },
    {
        title: '创建时间',
        dataIndex: 'createTime',
        width: 180
    },
    {
        title: '更新时间',
        dataIndex: 'updateTime',
        width: 180
    },
    {
        title: '操作',
        key:'action',
        width: 100,
        align: 'center',
    }
];

